package com.acme.task2;

public class Foo {
	private int iterateNumber;
		
	public Foo(int iterateNumber) {
		super();
		this.iterateNumber = iterateNumber;
	}

	@Override
	protected void finalize() throws Throwable {
		super.finalize();
		System.out.println("Finalize was called for " + iterateNumber);
	}
}
